<?php


use Illuminate\Routing\Router;

Admin::registerAuthRoutes();

Route::group([
    'prefix' => config('admin.route.prefix'),
    'namespace' => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    $router->resource('users', UserController::class);
    $router->resource('incodes', InCodeController::class);
    $router->resource('user_levels', UserLevelController::class);
    $router->resource('sms_codes', SmsCodeController::class);
    $router->resource('fund', FundController::class);
    $router->resource('stock', StockController::class);
    $router->resource('money_logs', MoneyLogController::class);
    $router->resource('point_logs', PointLogController::class);
    $router->resource('gift', GiftController::class);
    $router->resource('cash_logs', CashLogController::class);


});
